*{
    box-sizing: border-box;
}


/* navigation bar */
/* This is to give the content on the nav bar a unique look  */
#nav{
    display: flex;
    list-style-type: none ;
    background-color: gray;
    color: white;
    margin: 0;
    padding: 10px;
    font-size: 35px;
    position: sticky;
    top:0;
   z-index: 1;
      /* border: 2px solid red; */
}



li a{
    margin: 0 30px;
    padding: 10px ;
    text-align: center;
     text-decoration:none ;

}

 /* when the mouse hovers over a link  */
li a:hover{
    color:white;
    background-color: black;
}

li a:visited{
    color: white;
}

.pictures{
    width: 100%;
}

 /* This is for the current page the user is on, will be used on other pages */
#current{
    background-color: black;
    color: white;
}


/* This is the large container that tells the user what page they are on, a background image is used for this specific page */
.titlecontainer{
    background-image: url("../images/cinema.jpg");
    /* background-color: black; */
    background-repeat: no-repeat;
    background-size: cover;
    height: 750px;
    color: white;
    text-align: center;
   border: 2px solid black;
   width: 100%;
  
 }

 .title{
    margin-top: 220px;
    padding: 40px;
    font-size: 100px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}


#gallery{
    display: flex;
    list-style-type: none ;
    width: 100%;
    padding: 5px ;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* border: 2px solid red; */
}

#gallery  img{
    width:400px;

}



li{
    position: relative;
}


.headers{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 60px;
}

#gallery li{
    text-decoration:none ;
    margin: 10px;
}

/* This holds the description of the image at the top */
.overlaytop{
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    transition: .5s ease;
    opacity:0;
    text-align: center;
    padding: 30px;
    top: 0;
    width: 100%;
    text-align: center;
   
}


/* This holds the description of the image at the bottoms */
.overlaybottom{
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    transition: .5s ease;
    opacity:0;
    text-align: center;
    padding: 30px;
    bottom: 0;
    width: 100%;
    text-align: center;
   
}



li:hover .overlaytop, li:hover .overlaybottom{
    opacity: 1;
  }
 